project = Get_source.o splider_main.o url_escape.o Download.o
proc:Get_source.o splider_main.o url_escape.o Download.o
	g++ $(project) --std=c++11 -g -L/usr/local/lib -lcurl -o splider 
Get_source.o:
	g++ -g -c --std=c++11 Get_source.cpp
url_escape.o:
	g++ -g -c --std=c++11 url_escape.cpp

Download.o:
	g++ -g -c --std=c++11 Download.cpp
splider_main.o:
	g++ -g -c --std=c++11 splider_main.cpp

.PHONY:clean
clean:
	rm -f *.o splider
